From ab283d0519173467ef974a4f3a1fd0c6ea7ab140 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Tue, 13 Sep 2005 16:55:21 +0000 Subject: [PATCH] Fix error handling code paths. Signed-off-by: Christian Limpach --- tools/python/xen/xend/xenstore/xstransact.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/python/xen/xend/xenstore/xstransact.py b/tools/python/xen/xend/xenstore/xstransact.py index aa3c5eab62..d52f87045c 100644 --- a/tools/python/xen/xend/xenstore/xstransact.py +++ b/tools/python/xen/xend/xenstore/xstransact.py @@ -117,7 +117,8 @@ class xstransact: except RuntimeError, ex: if ex.args[0] == errno.ETIMEDOUT: pass - raise + else: + raise Read = classmethod(Read) @@ -131,7 +132,8 @@ class xstransact: except RuntimeError, ex: if ex.args[0] == errno.ETIMEDOUT: pass - raise + else: + raise Write = classmethod(Write) @@ -145,7 +147,8 @@ class xstransact: except RuntimeError, ex: if ex.args[0] == errno.ETIMEDOUT: pass - raise + else: + raise Remove = classmethod(Remove) @@ -159,6 +162,7 @@ class xstransact: except RuntimeError, ex: if ex.args[0] == errno.ETIMEDOUT: pass - raise + else: + raise List = classmethod(List) -- 2.30.2